﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.AspNet.SignalR;
using System.Data;

namespace POS
{
    public class OrderHub : Hub
    {
        public void Show(DataTable dt)
        {
            string[] orderList = new string[dt.Rows.Count];
            for (int i = 0; i < dt.Rows.Count; i++)
            {
                orderList[i] = dt.Rows[i][0].ToString();
            }
            Clients.All.displayStatus(orderList);
        }
    }
}